<div *ngIf="visible">
  <nz-table #nzTable
            [nzAjaxData]="_dataSet"
            [nzSize]="'small'"
            [nzShowSizeChanger]="true"
            [nzLoading]="_loading"
            [nzTotal]="_total"
            [(nzPageIndex)]="_pageIndex"
            [(nzPageSize)]="_pageSize"
            (nzPageIndexChange)="_pageIndexChange()"
            (nzPageSizeChange)="_pageSizeChang()">
    <thead nz-thead>
    <tr>
      <th nz-th [nzCheckbox]="true">
        <label nz-checkbox [(ngModel)]="_allChecked" [nzIndeterminate]="_indeterminate"
               (ngModelChange)="_checkAll($event)">
        </label>
      </th>
      <th nz-th><span>开发方案代码</span></th>
      <th nz-th><span>中文名称</span></th>
      <th nz-th><span>描述</span></th>
      <th nz-th><span>方案类型</span></th>
      <th nz-th><span>创建人</span></th>
      <th nz-th><span>创建日期/时间</span></th>
      <th nz-th><span>修改人</span></th>
      <th nz-th><span>修改日期</span></th>
      <th nz-th><span>状态</span></th>
      <th nz-th><span>数据产生机构,</span></th>
      <th nz-th><span>数据分区键</span></th>
      <th nz-th><span>数据归属</span></th>
      <th nz-th><span>归档基准日期</span></th>
      <th nz-th><span>记录版本号，每次修改记录时加1</span></th>
      <th nz-th><span>删除标记</span></th>
      <th nz-th><span>删除人</span></th>
      <th nz-th><span>删除时间</span></th>
      <th nz-th><span>是否已经执行审计日志</span></th>
      <th nz-th><span>子系统</span></th>
      <th nz-th><span>ATTRIBUTE1</span></th>
      <th nz-th><span>ATTRIBUTE2</span></th>
      <th nz-th><span>ATTRIBUTE3</span></th>
      <th nz-th><span>ATTRIBUTE4</span></th>
      <th nz-th><span>ATTRIBUTE5</span></th>
      <th nz-th><span>扩展字段结构类型</span></th>
      <th nz-th [nzWidth]="'120px'"><span>action</span></th>
    </tr>
    </thead>
    <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of nzTable.data">
      <td nz-td [nzCheckbox]="true">
        <label nz-checkbox [(ngModel)]="data.checked" (ngModelChange)="_checkChange($event)">
        </label>
      </td>
      <td nz-td>
        <span>{{data.code}}</span>
      </td>
      <td nz-td>
        <span>{{data.name}}</span>
      </td>
      <td nz-td>
        <span>{{data.des}}</span>
      </td>
      <td nz-td>
        <span>{{data.type}}</span>
      </td>
      <td nz-td>
        <span>{{data.createdBy}}</span>
      </td>
      <td nz-td>
        <span>{{data.createDate}}</span>
      </td>
      <td nz-td>
        <span>{{data.modifiedBy}}</span>
      </td>
      <td nz-td>
        <span>{{data.modifiedDate}}</span>
      </td>
      <td nz-td>
        <span>{{data.status}}</span>
      </td>
      <td nz-td>
        <span>{{data.operationOrgCode}}</span>
      </td>
      <td nz-td>
        <span>{{data.dataowner}}</span>
      </td>
      <td nz-td>
        <span>{{data.companyId}}</span>
      </td>
      <td nz-td>
        <span>{{data.archiveBaseDate}}</span>
      </td>
      <td nz-td>
        <span>{{data.versionId}}</span>
      </td>
      <td nz-td>
        <span>{{data.flag}}</span>
      </td>
      <td nz-td>
        <span>{{data.deleteBy}}</span>
      </td>
      <td nz-td>
        <span>{{data.deleteDate}}</span>
      </td>
      <td nz-td>
        <span>{{data.islog}}</span>
      </td>
      <td nz-td>
        <span>{{data.subSystem}}</span>
      </td>
      <td nz-td>
        <span>{{data.attribute1}}</span>
      </td>
      <td nz-td>
        <span>{{data.attribute2}}</span>
      </td>
      <td nz-td>
        <span>{{data.attribute3}}</span>
      </td>
      <td nz-td>
        <span>{{data.attribute4}}</span>
      </td>
      <td nz-td>
        <span>{{data.attribute5}}</span>
      </td>
      <td nz-td>
        <span>{{data.attributeCategory}}</span>
      </td>
      <td nz-td>
      <span>
        <a (click)="onEdit.emit({entity:data})">Edit</a>
        <a (click)="onRemove.emit({entity:data})">删除</a>
        <a (click)="onProject.emit({entity:data})">项目管理</a>
      </span>
      </td>
    </tr>
    </tbody>
  </nz-table>
</div>
